module.exports = function (api) {
  api.cache(true);
  const presets = [
    ['@babel/preset-env',
      {
        useBuiltIns: false,
        modules: false,
        targets: {
          browsers: [
            'defaults',
            'not IE 11',
          ]
        },
        corejs: 3,
      }
    ],
  ];
  return {
    presets,
  };
};